Skip to content

Version Packages (rc) - #12826

Merged
jerelmiller merged 1 commit into
release-4.0from
changeset-release/release-4.0
Aug 5, 2025
Merged

Version Packages (rc)#12826
jerelmiller merged 1 commit into
release-4.0from
changeset-release/release-4.0

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-4.0, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

release-4.0 is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on release-4.0.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@apollo/client@4.0.0-rc.8

Major Changes

  • #12825 292b949 Thanks @jerelmiller! - The serializeFetchParameter helper is no longer exported and JSON.stringify is used directly. As such, the ClientParseError type has also been removed in favor of throwing any JSON serialize errors directly.

  • #12824 0506f12 Thanks @jerelmiller! - Ensure the error argument for the delay and attempts functions on RetryLink are an ErrorLike.

  • #12823 19e315e Thanks @jerelmiller! - Move all 1st party link types into a namespace.

  • #12823 19e315e Thanks @jerelmiller! - The OperationBatcher class is no longer exported from @apollo/client/link/batch. It is an implementation detail of BatchLink and should not be relied on directly.

Patch Changes

  • #12824 0506f12 Thanks @jerelmiller! - RetryLink now emits a next event instead of an error event when encountering a protocol errors for multipart subscriptions when the operation is not retried. This ensures the observable notification remains the same as when RetryLink is not used.

  • #12819 7ff548d Thanks @jerelmiller! - update type of HttpLink.Options.fetchOptions to RequestInit

  • #12820 fba3d9e Thanks @jerelmiller! - The fetchOptions option provided to HttpLink and BatchHttpLink is now RequestInit instead of any. The credentials option is now a RequestCredentials type instead of a string.

  • #12823 19e315e Thanks @jerelmiller! - Fix the type of the argument for the sha256 function for PersistedQueryLink from ...any[] to string.

  • #12821 223a409 Thanks @jerelmiller! - Add a deprecation warning to WebSocketLink.

@pkg-pr-new

pkg-pr-new Bot commented Aug 5, 2025

Copy link
Copy Markdown
npm i https://pkg.pr.new/apollographql/apollo-client/@apollo/client@12826

commit: 1956d96

@apollo-librarian

apollo-librarian Bot commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

⚠️ Docs preview not attached to branch

The preview was not built because the PR's base branch release-4.0 is not in the list of sources.

An Apollo team member can comment one of the following commands to dictate which branch to attach the preview to:

  • !docs set-base-branch version-2.6
  • !docs set-base-branch main

Build ID: 7d3d4c5f3c18a37f4aecba6e
Build Logs: View logs

@apollogithubactionsbot
apollogithubactionsbot Bot force-pushed the changeset-release/release-4.0 branch from cfaf816 to 980f100 Compare August 5, 2025 14:47
@github-actions

github-actions Bot commented Aug 5, 2025

Copy link
Copy Markdown
Contributor Author

size-limit report 📦

Path Size
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (CJS) 42.88 KB (+0.25% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) (CJS) 37.65 KB (-0.2% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" 32.77 KB (+0.04% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) 26.91 KB (-0.03% 🔽)
import { ApolloProvider } from "@apollo/client/react" 5.9 KB (0%)
import { ApolloProvider } from "@apollo/client/react" (production) 971 B (0%)
import { useQuery } from "@apollo/client/react" 7.21 KB (+0.13% 🔺)
import { useQuery } from "@apollo/client/react" (production) 2.23 KB (0%)
import { useLazyQuery } from "@apollo/client/react" 7.1 KB (+0.02% 🔺)
import { useLazyQuery } from "@apollo/client/react" (production) 2.13 KB (0%)
import { useMutation } from "@apollo/client/react" 6.45 KB (0%)
import { useMutation } from "@apollo/client/react" (production) 1.48 KB (0%)
import { useSubscription } from "@apollo/client/react" 6.78 KB (0%)
import { useSubscription } from "@apollo/client/react" (production) 1.8 KB (0%)
import { useSuspenseQuery } from "@apollo/client/react" 8.58 KB (0%)
import { useSuspenseQuery } from "@apollo/client/react" (production) 3.63 KB (+0.03% 🔺)
import { useBackgroundQuery } from "@apollo/client/react" 8.33 KB (0%)
import { useBackgroundQuery } from "@apollo/client/react" (production) 3.38 KB (+0.03% 🔺)
import { useLoadableQuery } from "@apollo/client/react" 8.28 KB (-0.02% 🔽)
import { useLoadableQuery } from "@apollo/client/react" (production) 3.36 KB (0%)
import { useReadQuery } from "@apollo/client/react" 6.59 KB (0%)
import { useReadQuery } from "@apollo/client/react" (production) 1.63 KB (0%)
import { useFragment } from "@apollo/client/react" 6.65 KB (0%)
import { useFragment } from "@apollo/client/react" (production) 1.69 KB (0%)

@apollogithubactionsbot
apollogithubactionsbot Bot force-pushed the changeset-release/release-4.0 branch 3 times, most recently from 7311086 to 70a124d Compare August 5, 2025 16:12
@apollogithubactionsbot
apollogithubactionsbot Bot force-pushed the changeset-release/release-4.0 branch from 70a124d to 1956d96 Compare August 5, 2025 16:38
@github-actions github-actions Bot added the auto-cleanup 🤖 label Aug 5, 2025
@jerelmiller
jerelmiller merged commit ede7e0c into release-4.0 Aug 5, 2025
44 of 46 checks passed
@jerelmiller
jerelmiller deleted the changeset-release/release-4.0 branch August 5, 2025 16:48
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant